package com.suep.system.utils;

import javax.servlet.http.HttpServletRequest;

public class RequestAttributeUtil {
    public static Integer getUserIdFromRequest(HttpServletRequest request){
        return Integer.parseInt(request.getAttribute("userId").toString());
    }
}
